package com.vhall.component.service.interactive;

import com.vhall.component.entity.interactive.ListReqVo;
import com.vhall.component.entity.interactive.dto.AnswerDto;
import com.vhall.component.entity.interactive.vo.*;

import java.util.Map;

/**
 * @author xianglei
 * @date 2021/7/14 10:34
 */
public interface QaService {

    QuestionRspVo create(CreateReqVo reqVo);

    Boolean show(ShowReqVo reqVo);

    AnswerDto answer(AnswerReqVo reqVo);

    Map<String, Object> lists(ListReqVo reqVo);

    Boolean switchs(SwitchReqVo reqVo);

    QuestionRspVo deal(DealReqVo reqVo);

    AnswerRspVo dealAnswer(DealAnswerReqVo reqVo);

    Boolean switchAlsoAsk(SwitchReqVo reqVo);

    QuestionRspVo toggleAlsoAsk(ToggleAlsoAskReqVo reqVo);
}
